package com.youkeyi.ddy.cloud.common.api.application.business.crm.order;

import com.youkeyi.ddy.cloud.common.api.application.business.crm.order.dto.BusinessCustomerOrderFollowListCloudDto;
import com.youkeyi.ddy.cloud.common.api.application.business.crm.order.param.BusinessCustomerOrderFollowCreateCloudParam;
import com.youkeyi.ddy.cloud.common.api.application.business.crm.order.param.BusinessCustomerOrderFollowDeleteCloudParam;
import com.youkeyi.ddy.cloud.common.api.application.business.crm.order.param.BusinessCustomerOrderFollowListCloudParam;
import com.youkeyi.ddy.cloud.common.api.application.business.crm.order.param.BusinessCustomerOrderFollowUpdateCloudParam;
import com.youkeyi.ddy.cloud.common.response.ResponseContent;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * BusinessCustomerOrderFollowCloudServiceFallback
 *
 * @Author liuxiawang
 * @Date 1/28/22 4:12 PM
 * @Location shenzhen.china
 */
@Component
@RequestMapping("/business/customer/order/follow/fallback")
public class BusinessCustomerOrderFollowCloudServiceFallback implements BusinessCustomerOrderFollowCloudService {

    @Override
    public BusinessCustomerOrderFollowListCloudDto list(BusinessCustomerOrderFollowListCloudParam param) {
        return new BusinessCustomerOrderFollowListCloudDto(Boolean.FALSE, "服务不可用");
    }

    @Override
    public ResponseContent create(BusinessCustomerOrderFollowCreateCloudParam param) {
        return new ResponseContent(Boolean.FALSE, "服务不可用");
    }

    @Override
    public ResponseContent update(BusinessCustomerOrderFollowUpdateCloudParam param) {
        return new ResponseContent(Boolean.FALSE, "服务不可用");
    }

    @Override
    public ResponseContent delete(BusinessCustomerOrderFollowDeleteCloudParam param) {
        return new ResponseContent(Boolean.FALSE, "服务不可用");
    }
}
